package org.langqiao.string;

public class StringReplace {
	
	public static void main(String[] args){
		String clazz = "java.is.funny.www.crazyit.org";
		String path1 = clazz.replace(".", "\\");
		System.out.println(path1);
		String path2 = clazz.replaceAll("\\.", "\\\\");
		System.out.println(path2);
	}
}
